﻿using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;
namespace Pop
{
    abstract class Object
    {
        protected Texture2D texture;
        protected Rectangle size;
        protected Vector2 velocity;
        protected Vector2 position;


        public Vector2 Position
        {
            get { return position; }
            set { position = value; }

        }

        public Rectangle Size
        {
            get { return size; }
            set { size = value; }

        }

        public Object(Texture2D texture, Vector2 position)
        {
            this.texture = texture;
            this.position = position;
        }

        public abstract void Draw(SpriteBatch sprite);


    }
}
